package com.akl.ssmspringboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/** 拦截器配置 */
@Configuration
@SpringBootApplication
@ComponentScan(basePackages = {"com.akl"})
@MapperScan("com.akl.ssmspringboot.dao")
/** 开启定时任务 */
@EnableScheduling
public class SsmspringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(SsmspringbootApplication.class, args);
        System.out.println("first springboot");
    }
}
